const getTargetRouterConfig = (routerConfig, pathname) => {
  let targetRouterConfig = null

  routerConfig.forEach((item) => {
		if (item.path === pathname) {
			targetRouterConfig = item;
		}
	})
  return targetRouterConfig
}

export {
  getTargetRouterConfig,
}